package com.megvii.koala.net.creature;

import com.megvii.corelib.net.RequestParam;
import com.megvii.corelib.net.request.MegviiRequest;
import com.megvii.koala.net.Commands;

/**
 * 获取员工列表分页接口
 * Created by taozheng on 16/7/11.
 */
public class GetCreaturesListRequest implements MegviiRequest {
    @RequestParam
    public String category;

    @RequestParam
    public int size;

    @RequestParam
    public String order;

    @RequestParam
    public int page;

    @RequestParam
    public String name;

    public GetCreaturesListRequest(String category, String name,String order, int page, int size) {
        super();
        this.category = category;
        this.name = name;
        this.order = order;
        this.page = page;
        this.size = size;
    }

    @Override
    public String getCommand() {
        return Commands.GET_CREATURES_LIST;
    }
}
